PDeletePrivateData(const char * sDeveloperID, const char * sPlugInID, short cTargetClass,
unsigned long nTypeFlag, short nCount, unsigned long nTargetID);
Exceptions. PDeletePrivateData throws an exception if:const char * sDeveloperID;
Four-character string representing your name or your company name, (e.g., "ADBE" for Adobe)const char * sPlugInID;
Four-character string representing the plug-in (e.g., "KYLN"for Keyline plug-in)short cTargetClass;
kClassObject for imported graphics and images, and for PageMaker lines, boxes, ovals, polygons, and text blocks
kClassStory for stories
kClassPub for publication (current publication only)
kClassPage for page
kClassMaster for master page
kParmDontCare to delete all private data associated with specified sDeveloperID and sPlugInID.unsigned long nTypeFlag;
Identifier you defined to distinguish between types of private data for same cTargetClass
kParmDontCare to delete all private data for specified cTargetClass and associated with specified plug-in, or if cTargetClass is kParmDontCareshort nCount;
Number of deletions
1 if nTypeFlag is set to kParmDontCareunsigned long nTargetID;
Internal PageMaker identifier for element (graphic, image, text block, page, master page, or story) to which private data is associated0 (zero) for publication (PageMaker deletes private data in current publication only)
kParmDontCare to delete all private data for all elements in specified cTargetClass and associated with a specified nTypeFlag, or if nTypeFlag is set to kParmDontCare
Examples. The following example deletes all private data of all ClassObject elements that are associated with "ADBE" and "KYLN"and have a private ID of 15.
PDeletePrivateData("ADBE", "KYLN", kClassObject, 15, 1, kParmDontCare);
This example deletes all private data of all kClassObject elements that are associated with "ADBE" and "KYLN".
PDeleteprivatedata("ADBE", "KYLN", kClassObject,
kParmDontCare, 1, kParmDontCare);
This example deletes all private data in the publication that is associated with "ADBE" and "KYLN".
PDeletePrivateData("ADBE", "KYLN", kParmDontCare, kParmDontCare,
1, kParmDontCare);
The PGetPrivateData, PGetPrivateList, and PGetPrivateString queries
Comments or suggestions? Contact Adobe Developer Support